Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

717
Visualizações
"env: php: No such file or directory" on new mac OS Monterey

i've updated my mac os to Monterey (12) and then I can not use composer command or php command and get this error

env: php: No such file or directory
over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

macOS 12 (Monterey) removes the system provided PHP and you will need to install it yourself.

It is easy to install if you have brew installed. Simply run the following:

brew install php@7.4 brew-php-switcher

This will install the latest version of PHP 7.4 as well as a handy utility for switching between PHP versions if you need to.

Also try running - brew link php@7.4

over 4 years ago · Santiago Trujillo Relatório

0

PHP has been removed from MacOS since v12 (Monterey), so you first need to install it on your own to use it. From my POV, the easiest way to do this is using Homebrew

over 4 years ago · Santiago Trujillo Relatório

0

run brew install php , it will take php last version, then you will be be able to use php on your mac

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda